package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "修改商品类别请求体")
@Data
public class GoodsTypeUpdateRequest {
    @Schema(description="商品大类id",example="1")
    @NotNull
    private Long id;

    @Schema(description="商户id",example="1")
    private Long merId;

    @Schema(description="门店id",example="1")
    private Long shopId;

    @Schema(description="类名",example="一级分类名")
    private String name;

    @Schema(description="序号",example="1")
    private Integer orderNo;

    @Schema(description="图片地址")
    private String icon;

    @Schema(description="状态：1有效, -1 无效")
    private Integer status;

    @Schema(description="修改人",example="admin")
    private String updater;

    @Schema(description="操作者",example="admin")
    private String operator;

}
